package com.blue.gateway.common.request;

import com.blue.gateway.common.Request;
import com.blue.gateway.enums.ServiceChannelEnum;
import lombok.Data;

/**
 * @author xiaoyiming
 * @date 2020/5/3 22:52
 * @depiction
 */
@Data
public class PayNotifyRequest extends Request {

    private String notifyData;

    /**
     * 得到访问的渠道服务类型（支付、退款 or 查询 ...）
     *
     * @return 渠道服务枚举
     */
    @Override
    public ServiceChannelEnum getServiceChannelEnum() {
        return ServiceChannelEnum.PAY_NOTIFY;
    }
}
